package com.taiji.dianthus.service.app;

import com.taiji.dianthus.common.BusinessMessage;
import com.taiji.dianthus.domain.app.AppInfo;
import com.taiji.dianthus.domain.sys.DSysUser;
import com.taiji.dianthus.domain.sys.LogExcel;
import com.taiji.dianthus.domain.sys.SysLog;

import java.util.List;

/**
 * @InterfaceName SysLogService
 * @Description
 * @Author H.M
 * @Date 2020/6/22
 */
public interface AppInfoService {



    /**
     * 多条件分页查询日志列表
     *
     * @param pageSize
     * @param currentPage
     * @return
     */
    BusinessMessage list(Integer pageSize, Integer currentPage, String apppName, Integer enableFlag, DSysUser currentUser);


    AppInfo getAppInfoById(String id);

    BusinessMessage saveAppInfo(AppInfo appInfo,DSysUser currentUser);

    BusinessMessage deleteById(String id);

    BusinessMessage checkAppName(String appName,String id);

    AppInfo getAppInfoByAppName(String appName);

    AppInfo getAppInfoByAppId(String appId);
}
